package Jieyekaoshi;

public class Circle {
   final double PI = 3.14;
   int r = 10;
   private Circle(){

   }
   public static Circle getInstance(){
       return  new Circle();
   }
   public double area(){
       return PI * r * r;
   }
}

